package com.songtech.server.frame.utils;

import net.minidev.json.JSONValue;

public class JsonUtils {

	public static <T> T parse(String json, Class<T> type) {
		return (T) JSONValue.parse(json, type);
	}
	
	public static String toString(Object model) {
		return JSONValue.toJSONString(model);
	}
}
